home *** CD-ROM | disk | FTP | other *** search
/ Postcard CD: Toronto / Postcard CD: Toronto (2004).iso / mac / PCDSS / TO2Binary.dcr / Internal_24_goTo3.ls < prev    next >
Encoding:
Text File  |  2002-01-04  |  483 b   |  31 lines

  1. global S1, S2, L, myTimer
  2.  
  3. on keyDown
  4.   halt()
  5. end
  6.  
  7. on exitFrame me
  8.   if the mouseH <> L then
  9.     halt()
  10.   end if
  11.   if myTimer < 33 then
  12.     set the blend of sprite 2 to myTimer * 3
  13.   end if
  14.   if the blend of sprite 2 > 95 then
  15.     sprite(1).visible = 0
  16.   end if
  17.   if (myTimer > 33) and (S1 = 1) then
  18.     set1()
  19.     S1 = 0
  20.   end if
  21.   if myTimer > 180 then
  22.     sprite(1).visible = 1
  23.     S2 = 1
  24.     myTimer = 0
  25.     go(3)
  26.   else
  27.     myTimer = myTimer + 1
  28.     go(the frame)
  29.   end if
  30. end
  31.